package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class PurchaseInShowPageActivity extends UMWindowActivity {

	protected UMWindow PurchaseInShowPage = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar1 = null;
protected UMButton button1 = null;
protected UMLabel label12 = null;
protected UMImageButton imagebutton2 = null;
protected UMImageButton imagebutton1 = null;
protected XVerticalLayout panel7 = null;
protected XHorizontalLayout panel0 = null;
protected UMTextbox textbox0 = null;
protected UMImageButton imagebutton0 = null;
protected UMSearchControl search0 = null;
protected XVerticalLayout panel11 = null;
protected XVerticalLayout panel12 = null;
protected UMListViewBase listviewdefine0 = null;
protected XHorizontalLayout panel3 = null;
protected XVerticalLayout panel2 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label5 = null;
protected UMLabel label1 = null;
protected XHorizontalLayout panel6 = null;
protected XHorizontalLayout panel10 = null;
protected UMLabel label4 = null;
protected UMLabel label0 = null;
protected XHorizontalLayout panel9 = null;
protected XHorizontalLayout panel14 = null;
protected UMLabel label13 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label3 = null;
protected UMLabel label2 = null;
protected UMLabel label14 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label7 = null;
protected UMLabel label8 = null;
protected UMLabel label10 = null;

protected XHorizontalLayout panel13 = null;
protected XHorizontalLayout panel15 = null;
protected UMButton button0 = null;
protected UMButton button8 = null;
protected UMButton button9 = null;
protected XVerticalLayout panel17 = null;
protected XVerticalLayout panel18 = null;
protected UMButton button4 = null;
protected UMButton button5 = null;
protected UMButton button6 = null;
protected UMButton button7 = null;

	
	protected final static int ID_PURCHASEINSHOWPAGE = 118585834;
protected final static int ID_VIEWPAGE0 = 1411266468;
protected final static int ID_NAVIGATORBAR1 = 1858689285;
protected final static int ID_BUTTON1 = 807727706;
protected final static int ID_LABEL12 = 1593564886;
protected final static int ID_IMAGEBUTTON2 = 1684320530;
protected final static int ID_IMAGEBUTTON1 = 5475265;
protected final static int ID_PANEL7 = 174027472;
protected final static int ID_PANEL0 = 749179462;
protected final static int ID_TEXTBOX0 = 1888210514;
protected final static int ID_IMAGEBUTTON0 = 1329757107;
protected final static int ID_SEARCH0 = 545030073;
protected final static int ID_PANEL11 = 339824968;
protected final static int ID_PANEL12 = 1605972804;
protected final static int ID_LISTVIEWDEFINE0 = 1152118151;
protected final static int ID_PANEL3 = 579232402;
protected final static int ID_PANEL2 = 755997741;
protected final static int ID_PANEL5 = 326497157;
protected final static int ID_LABEL5 = 1623515488;
protected final static int ID_LABEL1 = 1471342091;
protected final static int ID_PANEL6 = 247429158;
protected final static int ID_PANEL10 = 342251421;
protected final static int ID_LABEL4 = 1463425428;
protected final static int ID_LABEL0 = 1764656863;
protected final static int ID_PANEL9 = 2136456371;
protected final static int ID_PANEL14 = 1808205107;
protected final static int ID_LABEL13 = 906634402;
protected final static int ID_PANEL8 = 394343704;
protected final static int ID_LABEL3 = 2047568783;
protected final static int ID_LABEL2 = 1473592781;
protected final static int ID_LABEL14 = 1791489299;
protected final static int ID_PANEL4 = 1164486660;
protected final static int ID_LABEL7 = 555932496;
protected final static int ID_LABEL8 = 1778766751;
protected final static int ID_LABEL10 = 2004477694;

protected final static int ID_PANEL13 = 1503610821;
protected final static int ID_PANEL15 = 102943031;
protected final static int ID_BUTTON0 = 440729024;
protected final static int ID_BUTTON8 = 691957458;
protected final static int ID_BUTTON9 = 1918294594;
protected final static int ID_PANEL17 = 40962656;
protected final static int ID_PANEL18 = 475582583;
protected final static int ID_BUTTON4 = 1054820733;
protected final static int ID_BUTTON5 = 610809323;
protected final static int ID_BUTTON6 = 1036141600;
protected final static int ID_BUTTON7 = 1580254759;

	
	
	@Override
	public String getControllerName() {
		return "PurchaseInShowPageController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		{ //listviewdefine0 - action:listviewdefine0_onrestart
    UMEventArgs args = new UMEventArgs(PurchaseInShowPageActivity.this);
    actionListviewdefine0_onrestart(listviewdefine0,args);

}

		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("PurchaseInShowPage",ID_PURCHASEINSHOWPAGE);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar1",ID_NAVIGATORBAR1);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("label12",ID_LABEL12);
  idmap.put("imagebutton2",ID_IMAGEBUTTON2);
  idmap.put("imagebutton1",ID_IMAGEBUTTON1);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("imagebutton0",ID_IMAGEBUTTON0);
  idmap.put("search0",ID_SEARCH0);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("listviewdefine0",ID_LISTVIEWDEFINE0);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label1",ID_LABEL1);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("label4",ID_LABEL4);
  idmap.put("label0",ID_LABEL0);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("panel14",ID_PANEL14);
  idmap.put("label13",ID_LABEL13);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label3",ID_LABEL3);
  idmap.put("label2",ID_LABEL2);
  idmap.put("label14",ID_LABEL14);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label7",ID_LABEL7);
  idmap.put("label8",ID_LABEL8);
  idmap.put("label10",ID_LABEL10);

  idmap.put("panel13",ID_PANEL13);
  idmap.put("panel15",ID_PANEL15);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("button8",ID_BUTTON8);
  idmap.put("button9",ID_BUTTON9);
  idmap.put("panel17",ID_PANEL17);
  idmap.put("panel18",ID_PANEL18);
  idmap.put("button4",ID_BUTTON4);
  idmap.put("button5",ID_BUTTON5);
  idmap.put("button6",ID_BUTTON6);
  idmap.put("button7",ID_BUTTON7);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(PurchaseInShowPageActivity.this);
    actionViewpage0_onload(viewPage0,args);

}
{ //listviewdefine0 - action:listviewdefine0_onload
    UMEventArgs args = new UMEventArgs(PurchaseInShowPageActivity.this);
    actionListviewdefine0_onload(listviewdefine0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar1View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR1
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","采购入库"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button1_onclick"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","44"
,"pressed-image","btn_back_touch"
);
navigatorbar1.addView(button1);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar1.addView(label12);
imagebutton2 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON2
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_search_touch.png"
,"onclick","action:imagebutton2_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_search.png"
,"istogglebutton","false"
,"width","50"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","查询"
,"height","fill"
);
navigatorbar1.addView(imagebutton2);
imagebutton1 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON1
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_more_touch.png"
,"onclick","action:imagebutton1_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_more.png"
,"istogglebutton","false"
,"width","44"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","图标名称"
,"height","fill"
);
navigatorbar1.addView(imagebutton1);

return navigatorbar1;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","40"
);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#000000"
,"maxlength","256"
,"padding-left","5"
,"onchange","action:textbox0_onchange"
,"weight","1"
,"font-size","14"
,"autofocus","autofocus"
,"margin-left","10"
,"bindfield","code"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"placeholder","录入单据码"
,"layout-type","hbox"
,"halign","LEFT"
,"margin-bottom","5"
,"height","30"
);
panel0.addView(textbox0);
imagebutton0 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON0
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","scaner_touch.png"
,"onclick","action:imagebutton0_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"right","0"
,"icon-text-spacing","3"
,"margin-right","5"
,"imagebuttontype","icon"
,"icon-background-image","scaner.png"
,"istogglebutton","false"
,"width","50"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","40"
);
panel0.addView(imagebutton0);

return panel0;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL7
,"width","fill"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","left"
,"height","40"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
panel7.addView(panel0);
search0 = (UMSearchControl)ThirdControl.createControl(new UMSearchControl(context),ID_SEARCH0
,"search-del-icon","search_right.png"
,"color","#000000"
,"display","none"
,"search-btn-icon","search_left.png"
,"font-size","14"
,"onsearch","action:search0_onsearch"
,"localstorage","true"
,"bindfield","search0"
,"width","fill"
,"placeholder","搜索"
,"background-image","search_bg"
,"layout-type","vbox"
,"height","40.0"
,"font","default"
);
panel7.addView(search0);

return panel7;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#000000"
,"width","80"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","单据号："
,"height","fill"
);
panel5.addView(label5);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"bindfield","vbillcode"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","240.0"
,"height","fill"
);
panel5.addView(label1);

return panel5;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","30"
);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#000000"
,"width","80"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","物料名称:"
,"height","fill"
);
panel10.addView(label4);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"bindfield","materialname"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","240.0"
,"height","fill"
);
panel10.addView(label0);

return panel10;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"width","fill"
,"valign","top"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel6.addView(panel10);

return panel6;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","30"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"bindfield","nnum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","110.0"
,"height","fill"
);
panel8.addView(label3);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#000000"
,"width","10.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","/"
,"height","fill"
);
panel8.addView(label2);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"bindfield","nastnum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","110.0"
,"height","fill"
);
panel8.addView(label14);

return panel8;
}
public View getPanel14View(final UMActivity context,IBinderGroup binderGroup) {
panel14 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL14
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","30"
);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"color","#000000"
,"width","80"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","数量(主/辅):"
,"height","fill"
);
panel14.addView(label13);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel14.addView(panel8);

return panel14;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","fill"
,"valign","top"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
View panel14 = (View) getPanel14View((UMActivity)context,binderGroup);
panel9.addView(panel14);

return panel9;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#000000"
,"width","80"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","扫描主数量:"
,"height","fill"
);
panel4.addView(label7);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"bindfield","scanednum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","240.0"
,"height","fill"
);
panel4.addView(label8);

return panel4;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL2
,"border-bottom-color","#ff0000"
,"padding-left","20"
,"border-bottom-width","1"
,"width","0"
,"weight","1"
,"valign","TOP"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel2.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel2.addView(panel6);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel2.addView(panel9);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel2.addView(panel4);

return panel2;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","120"
);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel3.addView(panel2);

return panel3;
}
public View getLabel10View(final UMActivity context,IBinderGroup binderGroup) {
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"color","#000000"
,"width","32.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","vbox"
,"halign","center"
,"height","20"
);

return label10;
}
public View getListviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine0 = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_LISTVIEWDEFINE0
,"collapsed","true"
,"onrestart","action:listviewdefine0_onrestart"
,"weight","1"
,"valign","TOP"
,"onload","action:listviewdefine0_onload"
,"layout","vbox"
,"bindfield","puinlist"
,"background","#F5F5F5"
,"width","fill"
,"onitemclick","action:listviewdefine0_onitemclick"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
listviewdefine0.addListItemView("getPanel3View");
listviewdefine0.addListItemView("getLabel10View");

return listviewdefine0;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL12
,"background","#F5F5F5"
,"width","fill"
,"weight","1"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","left"
,"height","0"
);
View listviewdefine0 = (View) getListviewdefine0View((UMActivity)context,binderGroup);
panel12.addView(listviewdefine0);

return panel12;
}
public View getPanel15View(final UMActivity context,IBinderGroup binderGroup) {
panel15 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL15
,"border-top-width","1"
,"width","fill"
,"border-top-color","#b7b7b7"
,"valign","center"
,"background-image","tabbar"
,"layout-type","hbox"
,"halign","LEFT"
,"height","50"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"font-size","17"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","今天"
,"height","fill"
);
panel15.addView(button0);
button8 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON8
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button8_onclick"
,"font-size","17"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","本周"
,"height","fill"
);
panel15.addView(button8);
button9 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON9
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button9_onclick"
,"font-size","17"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","本月"
,"height","fill"
);
panel15.addView(button9);

return panel15;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"width","fill"
,"valign","center"
,"background-image","tabbar"
,"layout-type","vbox"
,"halign","LEFT"
,"height","50"
);
View panel15 = (View) getPanel15View((UMActivity)context,binderGroup);
panel13.addView(panel15);

return panel13;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL11
,"background","#F5F5F5"
,"width","fill"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","left"
,"height","fill"
);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
panel11.addView(panel12);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
panel11.addView(panel13);

return panel11;
}
public View getPanel18View(final UMActivity context,IBinderGroup binderGroup) {
panel18 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL18
,"margin-left","20"
,"width","fill"
,"margin-top","20"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"margin-bottom","20"
,"margin-right","20"
,"height","fill"
);
button4 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON4
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button4_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","详情"
,"height","40"
);
panel18.addView(button4);
button5 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON5
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button5_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","采集"
,"height","40"
);
panel18.addView(button5);
button6 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON6
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button6_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","删除"
,"height","40"
);
panel18.addView(button6);
button7 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON7
,"font-pressed-color","#ffffff"
,"color","#ff0000"
,"onclick","action:button7_onclick"
,"font-size","17"
,"weight","1"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","取消"
,"height","0"
);
panel18.addView(button7);

return panel18;
}
public View getPanel17View(final UMActivity context,IBinderGroup binderGroup) {
panel17 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL17
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","220"
);
View panel18 = (View) getPanel18View((UMActivity)context,binderGroup);
panel17.addView(panel18);

return panel17;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar1 = (View) getNavigatorbar1View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar1);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
viewPage0.addView(panel7);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
viewPage0.addView(panel11);
View panel17 = (View) getPanel17View((UMActivity)context,binderGroup);
viewPage0.addView(panel17);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
PurchaseInShowPage = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_PURCHASEINSHOWPAGE
,"layout","vbox"
,"canvaswidth","375"
,"orientation","vertical"
,"controller","PurchaseInShowPageController"
,"canvasheight","667"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
PurchaseInShowPage.addView(viewPage0);

return (UMWindow)PurchaseInShowPage;
}

	
	public void actionButton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "back()",UMActivity.getViewId(control),args);
}
public void actionImagebutton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showQueryPage()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "createTable()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "getDayData()",UMActivity.getViewId(control),args);
}
public void actionButton7_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button7_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "itemCancle()",UMActivity.getViewId(control),args);
}
public void actionTextbox0_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "textbox0_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "scanonchange()",UMActivity.getViewId(control),args);
}
public void actionImagebutton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showMenuList()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onitemclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onitemclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onEventClick_ListViewItemClick()",UMActivity.getViewId(control),args);
}
public void actionImagebutton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showScanEditPage()",UMActivity.getViewId(control),args);
}
public void actionButton6_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button6_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "itemDelete()",UMActivity.getViewId(control),args);
}
public void actionSearch0_onsearch(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "search0_onsearch";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "search()",UMActivity.getViewId(control),args);
}
public void actionButton5_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button5_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showScanWithRowInfo()",UMActivity.getViewId(control),args);
}
public void actionButton8_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button8_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "getWeekData()",UMActivity.getViewId(control),args);
}
public void actionButton4_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button4_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showDetail()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onrestart(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onrestart";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "loadDataFromLocalDB()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "loadListData()",UMActivity.getViewId(control),args);
}
public void actionButton9_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button9_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "getMonthData()",UMActivity.getViewId(control),args);
}


}
